securekeyEncrypt
Type
handler
Summary
Encrypt a message using the securekey.
Syntax
securekeyEncrypt(<pIdentifier>,<pMessage>)
Description
Encrypts message using the securekey with the given identifier. The returned data can only be decrypted by using securekeyDecrypt.
*NOTE
- The Secure Key Storage library uses APIs available on iOS 10.0+, macOS 10.12+ and Android 4.3.
Parameters
Name | Type | Description |
---|---|---|
pIdentifier | A string used to identify the securekey. | |
pMessage | The message data to be encrypted |
Examples
if securekeyExists("foo") then
return securekeyEncrypt("foo", "bar")
end if
Compatibility and Support
OS
mac
ios
android
Platforms
desktop
mobile